package com.csun.cmny.provider.service;

import com.csun.cmny.core.support.IService;
import com.csun.cmny.provider.model.domain.OmcNursingGroupNew;
import com.csun.cmny.provider.model.dto.OmcNursingGroupNewDto;
import com.csun.cmny.provider.pojo.Room;
import com.csun.cmny.provider.model.vo.OmcUserVo;

import java.util.List;

public interface OmcNursingGroupService extends IService<OmcNursingGroupNew>{
    /**
     * 存储班组人员，房间信息
     */
    void saveOther(OmcNursingGroupNewDto nursingGroupNewDto);
    /*
    * 查询班组
    * */
    List<OmcNursingGroupNewDto> selectNursingGroup(OmcNursingGroupNewDto nursingGroupNewDto);
    /**
     * 删除班组人员，房间信息
     */
    void deleteOther(Long id);
    /**
     * 查询班组负责的房间
     */
    List<Room> selectNursingBindRoom(Long nursingGroupId);
    /**
     * 通过buildingId查询该机构没有被分配的房间
     */
    List<Room> selectByBuildingId(Long buildingId);
    /**
     * 查询护工组详情
     */
    List<OmcUserVo> selectNuringUserInfo(Long id);
}
